<!-- 此处先简写，不写abcd索引列表了 -->
<template>
  <div class="friends-list">
    <div class="friends-item dis-flex alc">
      <img class="friend-avatar" src="@/assets/images/avatar.png" alt="头像">
      <div class="show-one-line">微信昵称1</div>
    </div>
    <div class="friends-item dis-flex alc">
      <img class="friend-avatar" src="@/assets/images/avatar.png" alt="头像">
      <div class="show-one-line">微信昵称2</div>
    </div>
    <div class="friends-item dis-flex alc">
      <img class="friend-avatar" src="@/assets/images/avatar.png" alt="头像">
      <div class="show-one-line">微信昵称3</div>
    </div>
    <div class="friends-item dis-flex alc">
      <img class="friend-avatar" src="@/assets/images/avatar.png" alt="头像">
      <div class="show-one-line">微信昵称4</div>
    </div>
  </div>
</template>

<script setup>

</script>

<style lang="scss" scoped>
.friends-item {
  padding: 6px 12px;
  &:hover {
    background-color: #eaeaea;
  }
  .friend-avatar {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    margin-right: 8px;
  }
}
.selected {
  background-color: #dedede;
}
</style>
